package org.window;

import javafx.scene.layout.*;

/**
 * 布局
 */
public class PaneControllerAndPane {
    public static Pane pane = new Pane();
    public static void init(){
        pane.setPrefWidth(500);
        pane.setPrefHeight(260);
        pane.setLayoutY(410);
//        pane.setBackground(new Background(new BackgroundImage(new Image("bgk.jpg"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));
        pane.getChildren().addAll(
                PaneControllerAndPaneAndTableView.TableView
        );
        PaneControllerAndPaneAndTableView.init();
    }
}
